class Dog:
    def speak(self):
        return "woof"

    def __str__(self):
        return "Dog"
